﻿#pragma once
#include <string>
#include <vector>
#include "module_base.h"

class CXTextA;
template <typename T>
class CXVector;


#ifndef WO_MOUDLE
#ifdef _WIN64
#define WO_MOUDLE
typedef int64_t WOPTR;

#else
#define WO_MOUDLE
typedef int32_t WOPTR;
#endif
#endif // !WO_MOUDLE

//分割文本A
int WoHaperStringSplitWithStlA(std::string& str, std::string pattern, std::vector<std::string>& r);
int WoHaperStringSplitWithStlA_view(std::string_view str, std::string_view pattern, std::vector<std::string>& r);
//删收尾空A
void WoHaperStringTrimA(std::string str, std::string& r);
std::string WoHaperTimeconversion(long long elapsed_time);
int _Wo_Files_FileEnums(CXTextA dirName, CXVector<CXTextA>& rFileList, CXTextA fileName = "*.*", bool addPath = false, bool enumSon = false,const char*fPsth="");
CXTextA _Wo_Files_GetFileMIMEType(const char* fileName);

#include "hurl.hpp"
